package com.quickcancellation.crm.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.quickcancellation.crm.mapper.SaleareaMapper;
import com.quickcancellation.crm.pojo.dto.PageDto;
import com.quickcancellation.crm.pojo.entity.Salearea;
import com.quickcancellation.crm.service.ISaleareaService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author baomidou
 * @since 2023-02-28
 */
@Service
public class SaleareaServiceImpl extends ServiceImpl<SaleareaMapper, Salearea> implements ISaleareaService {

    @Resource
    private SaleareaMapper saleareaMapper;

    @Override
    public List<Map> selectSaleAreaList(PageDto<Salearea> pageDto) {

       return  saleareaMapper.selectSaleAreaList(pageDto);

    }
}
